package com.ruoyi.home.domain;

import java.util.Objects;

/**
 * @author 梁国瑞
 * @version 1.0
 */
public class AttendanceNumVo {
    //正常打卡人数
    private Integer normalNum;
    //异常打卡人数
    private Integer exceptionNum;
    //迟到人数
    private Integer lateNum;
    //早退人数
    private Integer leaveEarlyNum;
    //缺卡人数
    private Integer missingNum;

    public Integer getNormalNum() {
        return normalNum;
    }

    public void setNormalNum(Integer normalNum) {
        this.normalNum = normalNum;
    }

    public Integer getExceptionNum() {
        return exceptionNum;
    }

    public void setExceptionNum(Integer exceptionNum) {
        this.exceptionNum = exceptionNum;
    }

    public Integer getLateNum() {
        return lateNum;
    }

    public void setLateNum(Integer lateNum) {
        this.lateNum = lateNum;
    }

    public Integer getLeaveEarlyNum() {
        return leaveEarlyNum;
    }

    public void setLeaveEarlyNum(Integer leaveEarlyNum) {
        this.leaveEarlyNum = leaveEarlyNum;
    }

    public Integer getMissingNum() {
        return missingNum;
    }

    public void setMissingNum(Integer missingNum) {
        this.missingNum = missingNum;
    }

    @Override
    public boolean equals(Object o) {
        if (o == null || getClass() != o.getClass()) return false;
        AttendanceNumVo that = (AttendanceNumVo) o;
        return Objects.equals(normalNum, that.normalNum) && Objects.equals(exceptionNum, that.exceptionNum) && Objects.equals(lateNum, that.lateNum) && Objects.equals(leaveEarlyNum, that.leaveEarlyNum) && Objects.equals(missingNum, that.missingNum);
    }

    @Override
    public int hashCode() {
        return Objects.hash(normalNum, exceptionNum, lateNum, leaveEarlyNum, missingNum);
    }
}
